package com.example.ymm.modules1.service.user;

import com.example.ymm.base.BaseService;
import com.example.ymm.model.TableList;
import com.example.ymm.model.YmPageDto;
import com.example.ymm.modules1.entity.my.user.DbClazzBook;
import com.example.ymm.modules1.entity.my.user.ViewBook;
import com.example.ymm.modules1.service.dto.DbClazzBookQueryCriteria;

import java.util.List;

public interface DbClazzBookService extends BaseService<DbClazzBook> {


    TableList<ViewBook> list(DbClazzBookQueryCriteria criteria, YmPageDto ymPage);

    TableList<ViewBook> bookClazzNameList(DbClazzBookQueryCriteria criteria, YmPageDto ymPage);

    List<ViewBook> queryAll(DbClazzBookQueryCriteria criteria);

    List<DbClazzBook> getClazzBook(DbClazzBookQueryCriteria criteria);


    void setBooks(String clazzIds,String bookIds);

    void setBookByClazzIds(String clazzIds,String bookId);

}
